Config.pbobjc.h 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504
  1. /*
  2. * Copyright 2019 Google
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. // Generated by the protocol buffer compiler. DO NOT EDIT!
  17. // source: wireless/android/config/proto/config.proto
  18. // This CPP symbol can be defined to use imports that match up to the framework
  19. // imports needed when using CocoaPods.
  20. #if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS)
  21. #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0
  22. #endif
  23. #if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS
  24. #import <Protobuf/GPBProtocolBuffers.h>
  25. #else
  26. #import "GPBProtocolBuffers.h"
  27. #endif
  28. #if GOOGLE_PROTOBUF_OBJC_VERSION < 30002
  29. #error This file was generated by a newer version of protoc which is incompatible with your Protocol Buffer library sources.
  30. #endif
  31. #if 30002 < GOOGLE_PROTOBUF_OBJC_MIN_SUPPORTED_VERSION
  32. #error This file was generated by an older version of protoc which is incompatible with your Protocol Buffer library sources.
  33. #endif
  34. // @@protoc_insertion_point(imports)
  35. #pragma clang diagnostic push
  36. #pragma clang diagnostic ignored "-Wdeprecated-declarations"
  37. CF_EXTERN_C_BEGIN
  38. @class AndroidConfigFetchProto;
  39. @class RCNAppConfigTable;
  40. @class RCNAppNamespaceConfigTable;
  41. @class RCNKeyValue;
  42. @class RCNNamedValue;
  43. @class RCNPackageData;
  44. @class RCNPackageTable;
  45. NS_ASSUME_NONNULL_BEGIN
  46. #pragma mark - Enum RCNConfigDeviceType
  47. typedef GPB_ENUM(RCNConfigDeviceType) {
  48. RCNConfigDeviceType_Unknown = 0,
  49. RCNConfigDeviceType_Android = 1,
  50. RCNConfigDeviceType_Ios = 2,
  51. RCNConfigDeviceType_ChromeBrowser = 3,
  52. RCNConfigDeviceType_ChromeOs = 4,
  53. RCNConfigDeviceType_Desktop = 5,
  54. };
  55. GPBEnumDescriptor *RCNConfigDeviceType_EnumDescriptor(void);
  56. /**
  57. * Checks to see if the given value is defined by the enum or was not known at
  58. * the time this source was generated.
  59. **/
  60. BOOL RCNConfigDeviceType_IsValidValue(int32_t value);
  61. #pragma mark - Enum RCNAppNamespaceConfigTable_NamespaceStatus
  62. typedef GPB_ENUM(RCNAppNamespaceConfigTable_NamespaceStatus) {
  63. RCNAppNamespaceConfigTable_NamespaceStatus_Update = 0,
  64. RCNAppNamespaceConfigTable_NamespaceStatus_NoTemplate = 1,
  65. RCNAppNamespaceConfigTable_NamespaceStatus_NoChange = 2,
  66. RCNAppNamespaceConfigTable_NamespaceStatus_EmptyConfig = 3,
  67. RCNAppNamespaceConfigTable_NamespaceStatus_NotAuthorized = 4,
  68. };
  69. GPBEnumDescriptor *RCNAppNamespaceConfigTable_NamespaceStatus_EnumDescriptor(void);
  70. /**
  71. * Checks to see if the given value is defined by the enum or was not known at
  72. * the time this source was generated.
  73. **/
  74. BOOL RCNAppNamespaceConfigTable_NamespaceStatus_IsValidValue(int32_t value);
  75. #pragma mark - Enum RCNConfigFetchResponse_ResponseStatus
  76. typedef GPB_ENUM(RCNConfigFetchResponse_ResponseStatus) {
  77. RCNConfigFetchResponse_ResponseStatus_Success = 0,
  78. RCNConfigFetchResponse_ResponseStatus_NoPackagesInRequest = 1,
  79. };
  80. GPBEnumDescriptor *RCNConfigFetchResponse_ResponseStatus_EnumDescriptor(void);
  81. /**
  82. * Checks to see if the given value is defined by the enum or was not known at
  83. * the time this source was generated.
  84. **/
  85. BOOL RCNConfigFetchResponse_ResponseStatus_IsValidValue(int32_t value);
  86. #pragma mark - RCNConfigRoot
  87. /**
  88. * Exposes the extension registry for this file.
  89. *
  90. * The base class provides:
  91. * @code
  92. * + (GPBExtensionRegistry *)extensionRegistry;
  93. * @endcode
  94. * which is a @c GPBExtensionRegistry that includes all the extensions defined by
  95. * this file and all files that it depends on.
  96. **/
  97. @interface RCNConfigRoot : GPBRootObject
  98. @end
  99. #pragma mark - RCNPackageData
  100. typedef GPB_ENUM(RCNPackageData_FieldNumber) {
  101. RCNPackageData_FieldNumber_PackageName = 1,
  102. RCNPackageData_FieldNumber_VersionCode = 2,
  103. RCNPackageData_FieldNumber_Digest = 3,
  104. RCNPackageData_FieldNumber_CertHash = 4,
  105. RCNPackageData_FieldNumber_ProjectId = 5,
  106. RCNPackageData_FieldNumber_GmpProjectId = 6,
  107. RCNPackageData_FieldNumber_GamesProjectId = 7,
  108. RCNPackageData_FieldNumber_NamespaceDigestArray = 8,
  109. RCNPackageData_FieldNumber_CustomVariableArray = 9,
  110. RCNPackageData_FieldNumber_AppCertHash = 10,
  111. RCNPackageData_FieldNumber_AppVersionCode = 11,
  112. RCNPackageData_FieldNumber_AppInstanceId = 12,
  113. RCNPackageData_FieldNumber_AppVersion = 13,
  114. RCNPackageData_FieldNumber_AppInstanceIdToken = 14,
  115. RCNPackageData_FieldNumber_RequestedHiddenNamespaceArray = 15,
  116. RCNPackageData_FieldNumber_SdkVersion = 16,
  117. RCNPackageData_FieldNumber_AnalyticsUserPropertyArray = 17,
  118. RCNPackageData_FieldNumber_RequestedCacheExpirationSeconds = 18,
  119. RCNPackageData_FieldNumber_FetchedConfigAgeSeconds = 19,
  120. RCNPackageData_FieldNumber_ActiveConfigAgeSeconds = 20,
  121. };
  122. @interface RCNPackageData : GPBMessage
  123. @property(nonatomic, readwrite) int32_t versionCode;
  124. @property(nonatomic, readwrite) BOOL hasVersionCode;
  125. @property(nonatomic, readwrite, copy, null_resettable) NSData *digest;
  126. /** Test to see if @c digest has been set. */
  127. @property(nonatomic, readwrite) BOOL hasDigest;
  128. @property(nonatomic, readwrite, copy, null_resettable) NSData *certHash;
  129. /** Test to see if @c certHash has been set. */
  130. @property(nonatomic, readwrite) BOOL hasCertHash;
  131. @property(nonatomic, readwrite, copy, null_resettable) NSString *projectId;
  132. /** Test to see if @c projectId has been set. */
  133. @property(nonatomic, readwrite) BOOL hasProjectId;
  134. @property(nonatomic, readwrite, copy, null_resettable) NSString *packageName;
  135. /** Test to see if @c packageName has been set. */
  136. @property(nonatomic, readwrite) BOOL hasPackageName;
  137. @property(nonatomic, readwrite, copy, null_resettable) NSString *gmpProjectId;
  138. /** Test to see if @c gmpProjectId has been set. */
  139. @property(nonatomic, readwrite) BOOL hasGmpProjectId;
  140. @property(nonatomic, readwrite, copy, null_resettable) NSString *gamesProjectId;
  141. /** Test to see if @c gamesProjectId has been set. */
  142. @property(nonatomic, readwrite) BOOL hasGamesProjectId;
  143. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNNamedValue*> *namespaceDigestArray;
  144. /** The number of items in @c namespaceDigestArray without causing the array to be created. */
  145. @property(nonatomic, readonly) NSUInteger namespaceDigestArray_Count;
  146. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNNamedValue*> *customVariableArray;
  147. /** The number of items in @c customVariableArray without causing the array to be created. */
  148. @property(nonatomic, readonly) NSUInteger customVariableArray_Count;
  149. @property(nonatomic, readwrite, copy, null_resettable) NSData *appCertHash;
  150. /** Test to see if @c appCertHash has been set. */
  151. @property(nonatomic, readwrite) BOOL hasAppCertHash;
  152. @property(nonatomic, readwrite) int32_t appVersionCode;
  153. @property(nonatomic, readwrite) BOOL hasAppVersionCode;
  154. @property(nonatomic, readwrite, copy, null_resettable) NSString *appVersion;
  155. /** Test to see if @c appVersion has been set. */
  156. @property(nonatomic, readwrite) BOOL hasAppVersion;
  157. @property(nonatomic, readwrite, copy, null_resettable) NSString *appInstanceId;
  158. /** Test to see if @c appInstanceId has been set. */
  159. @property(nonatomic, readwrite) BOOL hasAppInstanceId;
  160. @property(nonatomic, readwrite, copy, null_resettable) NSString *appInstanceIdToken;
  161. /** Test to see if @c appInstanceIdToken has been set. */
  162. @property(nonatomic, readwrite) BOOL hasAppInstanceIdToken;
  163. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *requestedHiddenNamespaceArray;
  164. /** The number of items in @c requestedHiddenNamespaceArray without causing the array to be created. */
  165. @property(nonatomic, readonly) NSUInteger requestedHiddenNamespaceArray_Count;
  166. @property(nonatomic, readwrite) int32_t sdkVersion;
  167. @property(nonatomic, readwrite) BOOL hasSdkVersion;
  168. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNNamedValue*> *analyticsUserPropertyArray;
  169. /** The number of items in @c analyticsUserPropertyArray without causing the array to be created. */
  170. @property(nonatomic, readonly) NSUInteger analyticsUserPropertyArray_Count;
  171. @property(nonatomic, readwrite) int32_t requestedCacheExpirationSeconds;
  172. @property(nonatomic, readwrite) BOOL hasRequestedCacheExpirationSeconds;
  173. @property(nonatomic, readwrite) int32_t fetchedConfigAgeSeconds;
  174. @property(nonatomic, readwrite) BOOL hasFetchedConfigAgeSeconds;
  175. @property(nonatomic, readwrite) int32_t activeConfigAgeSeconds;
  176. @property(nonatomic, readwrite) BOOL hasActiveConfigAgeSeconds;
  177. @end
  178. #pragma mark - RCNKeyValue
  179. typedef GPB_ENUM(RCNKeyValue_FieldNumber) {
  180. RCNKeyValue_FieldNumber_Key = 1,
  181. RCNKeyValue_FieldNumber_Value = 2,
  182. };
  183. @interface RCNKeyValue : GPBMessage
  184. @property(nonatomic, readwrite, copy, null_resettable) NSString *key;
  185. /** Test to see if @c key has been set. */
  186. @property(nonatomic, readwrite) BOOL hasKey;
  187. @property(nonatomic, readwrite, copy, null_resettable) NSData *value;
  188. /** Test to see if @c value has been set. */
  189. @property(nonatomic, readwrite) BOOL hasValue;
  190. @end
  191. #pragma mark - RCNNamedValue
  192. typedef GPB_ENUM(RCNNamedValue_FieldNumber) {
  193. RCNNamedValue_FieldNumber_Name = 1,
  194. RCNNamedValue_FieldNumber_Value = 2,
  195. };
  196. @interface RCNNamedValue : GPBMessage
  197. @property(nonatomic, readwrite, copy, null_resettable) NSString *name;
  198. /** Test to see if @c name has been set. */
  199. @property(nonatomic, readwrite) BOOL hasName;
  200. @property(nonatomic, readwrite, copy, null_resettable) NSString *value;
  201. /** Test to see if @c value has been set. */
  202. @property(nonatomic, readwrite) BOOL hasValue;
  203. @end
  204. #pragma mark - RCNConfigFetchRequest
  205. typedef GPB_ENUM(RCNConfigFetchRequest_FieldNumber) {
  206. RCNConfigFetchRequest_FieldNumber_AndroidId = 1,
  207. RCNConfigFetchRequest_FieldNumber_PackageDataArray = 2,
  208. RCNConfigFetchRequest_FieldNumber_DeviceDataVersionInfo = 3,
  209. RCNConfigFetchRequest_FieldNumber_SecurityToken = 4,
  210. RCNConfigFetchRequest_FieldNumber_Config = 5,
  211. RCNConfigFetchRequest_FieldNumber_ClientVersion = 6,
  212. RCNConfigFetchRequest_FieldNumber_GmsCoreVersion = 7,
  213. RCNConfigFetchRequest_FieldNumber_ApiLevel = 8,
  214. RCNConfigFetchRequest_FieldNumber_DeviceCountry = 9,
  215. RCNConfigFetchRequest_FieldNumber_DeviceLocale = 10,
  216. RCNConfigFetchRequest_FieldNumber_DeviceType = 11,
  217. RCNConfigFetchRequest_FieldNumber_DeviceSubtype = 12,
  218. RCNConfigFetchRequest_FieldNumber_OsVersion = 13,
  219. RCNConfigFetchRequest_FieldNumber_DeviceTimezoneId = 14,
  220. };
  221. @interface RCNConfigFetchRequest : GPBMessage
  222. @property(nonatomic, readwrite, strong, null_resettable) AndroidConfigFetchProto *config;
  223. /** Test to see if @c config has been set. */
  224. @property(nonatomic, readwrite) BOOL hasConfig;
  225. @property(nonatomic, readwrite) uint64_t androidId;
  226. @property(nonatomic, readwrite) BOOL hasAndroidId;
  227. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNPackageData*> *packageDataArray;
  228. /** The number of items in @c packageDataArray without causing the array to be created. */
  229. @property(nonatomic, readonly) NSUInteger packageDataArray_Count;
  230. @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceDataVersionInfo;
  231. /** Test to see if @c deviceDataVersionInfo has been set. */
  232. @property(nonatomic, readwrite) BOOL hasDeviceDataVersionInfo;
  233. @property(nonatomic, readwrite) uint64_t securityToken;
  234. @property(nonatomic, readwrite) BOOL hasSecurityToken;
  235. @property(nonatomic, readwrite) int32_t clientVersion;
  236. @property(nonatomic, readwrite) BOOL hasClientVersion;
  237. @property(nonatomic, readwrite) int32_t gmsCoreVersion;
  238. @property(nonatomic, readwrite) BOOL hasGmsCoreVersion;
  239. @property(nonatomic, readwrite) int32_t apiLevel;
  240. @property(nonatomic, readwrite) BOOL hasApiLevel;
  241. @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceCountry;
  242. /** Test to see if @c deviceCountry has been set. */
  243. @property(nonatomic, readwrite) BOOL hasDeviceCountry;
  244. @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceLocale;
  245. /** Test to see if @c deviceLocale has been set. */
  246. @property(nonatomic, readwrite) BOOL hasDeviceLocale;
  247. @property(nonatomic, readwrite) int32_t deviceType;
  248. @property(nonatomic, readwrite) BOOL hasDeviceType;
  249. @property(nonatomic, readwrite) int32_t deviceSubtype;
  250. @property(nonatomic, readwrite) BOOL hasDeviceSubtype;
  251. @property(nonatomic, readwrite, copy, null_resettable) NSString *osVersion;
  252. /** Test to see if @c osVersion has been set. */
  253. @property(nonatomic, readwrite) BOOL hasOsVersion;
  254. @property(nonatomic, readwrite, copy, null_resettable) NSString *deviceTimezoneId;
  255. /** Test to see if @c deviceTimezoneId has been set. */
  256. @property(nonatomic, readwrite) BOOL hasDeviceTimezoneId;
  257. @end
  258. #pragma mark - RCNPackageTable
  259. typedef GPB_ENUM(RCNPackageTable_FieldNumber) {
  260. RCNPackageTable_FieldNumber_PackageName = 1,
  261. RCNPackageTable_FieldNumber_EntryArray = 2,
  262. RCNPackageTable_FieldNumber_ProjectId = 3,
  263. };
  264. @interface RCNPackageTable : GPBMessage
  265. @property(nonatomic, readwrite, copy, null_resettable) NSString *packageName;
  266. /** Test to see if @c packageName has been set. */
  267. @property(nonatomic, readwrite) BOOL hasPackageName;
  268. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNKeyValue*> *entryArray;
  269. /** The number of items in @c entryArray without causing the array to be created. */
  270. @property(nonatomic, readonly) NSUInteger entryArray_Count;
  271. @property(nonatomic, readwrite, copy, null_resettable) NSString *projectId;
  272. /** Test to see if @c projectId has been set. */
  273. @property(nonatomic, readwrite) BOOL hasProjectId;
  274. @end
  275. #pragma mark - RCNAppNamespaceConfigTable
  276. typedef GPB_ENUM(RCNAppNamespaceConfigTable_FieldNumber) {
  277. RCNAppNamespaceConfigTable_FieldNumber_Namespace_p = 1,
  278. RCNAppNamespaceConfigTable_FieldNumber_Digest = 2,
  279. RCNAppNamespaceConfigTable_FieldNumber_EntryArray = 3,
  280. RCNAppNamespaceConfigTable_FieldNumber_Status = 4,
  281. };
  282. @interface RCNAppNamespaceConfigTable : GPBMessage
  283. @property(nonatomic, readwrite, copy, null_resettable) NSString *namespace_p;
  284. /** Test to see if @c namespace_p has been set. */
  285. @property(nonatomic, readwrite) BOOL hasNamespace_p;
  286. @property(nonatomic, readwrite, copy, null_resettable) NSString *digest;
  287. /** Test to see if @c digest has been set. */
  288. @property(nonatomic, readwrite) BOOL hasDigest;
  289. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNKeyValue*> *entryArray;
  290. /** The number of items in @c entryArray without causing the array to be created. */
  291. @property(nonatomic, readonly) NSUInteger entryArray_Count;
  292. @property(nonatomic, readwrite) RCNAppNamespaceConfigTable_NamespaceStatus status;
  293. @property(nonatomic, readwrite) BOOL hasStatus;
  294. @end
  295. #pragma mark - RCNAppConfigTable
  296. typedef GPB_ENUM(RCNAppConfigTable_FieldNumber) {
  297. RCNAppConfigTable_FieldNumber_AppName = 1,
  298. RCNAppConfigTable_FieldNumber_NamespaceConfigArray = 2,
  299. RCNAppConfigTable_FieldNumber_ExperimentPayloadArray = 3,
  300. RCNAppConfigTable_FieldNumber_EnabledFeatureKeysArray = 5,
  301. };
  302. @interface RCNAppConfigTable : GPBMessage
  303. @property(nonatomic, readwrite, copy, null_resettable) NSString *appName;
  304. /** Test to see if @c appName has been set. */
  305. @property(nonatomic, readwrite) BOOL hasAppName;
  306. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNAppNamespaceConfigTable*> *namespaceConfigArray;
  307. /** The number of items in @c namespaceConfigArray without causing the array to be created. */
  308. @property(nonatomic, readonly) NSUInteger namespaceConfigArray_Count;
  309. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSData*> *experimentPayloadArray;
  310. /** The number of items in @c experimentPayloadArray without causing the array to be created. */
  311. @property(nonatomic, readonly) NSUInteger experimentPayloadArray_Count;
  312. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<NSString*> *enabledFeatureKeysArray;
  313. /** The number of items in @c enabledFeatureKeysArray without causing the array to be created. */
  314. @property(nonatomic, readonly) NSUInteger enabledFeatureKeysArray_Count;
  315. @end
  316. #pragma mark - RCNConfigFetchResponse
  317. typedef GPB_ENUM(RCNConfigFetchResponse_FieldNumber) {
  318. RCNConfigFetchResponse_FieldNumber_PackageTableArray = 1,
  319. RCNConfigFetchResponse_FieldNumber_Status = 2,
  320. RCNConfigFetchResponse_FieldNumber_InternalMetadataArray = 3,
  321. RCNConfigFetchResponse_FieldNumber_AppConfigArray = 4,
  322. };
  323. @interface RCNConfigFetchResponse : GPBMessage
  324. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNPackageTable*> *packageTableArray;
  325. /** The number of items in @c packageTableArray without causing the array to be created. */
  326. @property(nonatomic, readonly) NSUInteger packageTableArray_Count;
  327. @property(nonatomic, readwrite) RCNConfigFetchResponse_ResponseStatus status;
  328. @property(nonatomic, readwrite) BOOL hasStatus;
  329. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNKeyValue*> *internalMetadataArray;
  330. /** The number of items in @c internalMetadataArray without causing the array to be created. */
  331. @property(nonatomic, readonly) NSUInteger internalMetadataArray_Count;
  332. @property(nonatomic, readwrite, strong, null_resettable) NSMutableArray<RCNAppConfigTable*> *appConfigArray;
  333. /** The number of items in @c appConfigArray without causing the array to be created. */
  334. @property(nonatomic, readonly) NSUInteger appConfigArray_Count;
  335. @end
  336. NS_ASSUME_NONNULL_END
  337. CF_EXTERN_C_END
  338. #pragma clang diagnostic pop
  339. // @@protoc_insertion_point(global_scope)